package cn.starlightsoftware.sherly.exception.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import cn.starlightsoftware.sherly.exception.IBaseError;

/**
 * @author 谷子毅
 * @date 2024/4/26
 */
@Getter
@AllArgsConstructor
public enum SystemErrorCodeEnum implements IBaseError {

    USERNAME_NOT_FOUND("001-001-001", "该用户名不存在，请检查后再试！"),
    USERNAME_PASSWORD_NOT_MATCH("001-001-002", "账号密码错误，请检查后再试！"),
    USERNAME_DISABLE("001-001-003", "该用户名已被禁用！"),
    ;

    private final String code;
    private final String message;
}

